package com.example.tests;

import com.example.TestBase;
import org.junit.*;

/**
 * Удаление видео
 */
public class RemoveVideo extends TestBase {

    @Test
    public void testRemoveVideo() throws Exception {
        goToMainPage()
            .loginWithValidCredentials("admin", "admin")
            .gotoHomePage()
            .presentMovie("New Film")
            .gotoMovie()
            .whatMoviePageOpen("New Film (2012)")
            .removeMovie()
            .searchMoviesPage()
            .logout();
    }
}
